package com.yuerlive.paperplane;

import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;

import com.yuerlive.paperplane.module.main.FavoritesFragment;
import com.yuerlive.paperplane.module.main.InfoFragment;
import com.yuerlive.paperplane.module.main.TimeLineFragment;

/**
 * Created by Admin on 2017/10/11.
 */

public class TestActivity extends AppCompatActivity {
    public static final String TAG="TestActivity";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Log.e(TAG,"TestActivity________________onCreate");
        setContentView(R.layout.activity_main);
    }
    @Override
    protected void onRestart() {
        super.onRestart();
        Log.e(TAG,"TestActivity________________onRestart");
    }

    @Override
    public void onContentChanged() {
        super.onContentChanged();
        Log.e(TAG,"TestActivity________________onContentChanged");
    }

    @Override
    protected void onPostCreate(@Nullable Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
        Log.e(TAG,"TestActivity________________onPostCreate");
    }

    @Override
    protected void onPostResume() {
        super.onPostResume();
        Log.e(TAG,"TestActivity________________onPostResume");
    }

    @Override
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
        Log.e(TAG,"TestActivity________________onConfigurationChanged");
    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        Log.e(TAG,"TestActivity________________onNewIntent");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.e(TAG,"TestActivity________________onStart");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.e(TAG,"TestActivity________________onResume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.e(TAG,"TestActivity________________onPause");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.e(TAG,"TestActivity________________onStop");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.e(TAG,"TestActivity________________onDestroy");
    }

    @Override
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        Log.e(TAG,"TestActivity________________onSaveInstanceState111111111111111");
    }

    @Override
    public void onSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) {
        super.onSaveInstanceState(outState, outPersistentState);
        Log.e(TAG,"TestActivity________________onSaveInstanceState");
    }

    @Override
    protected void onRestoreInstanceState(Bundle savedInstanceState) {
        super.onRestoreInstanceState(savedInstanceState);
        Log.e(TAG,"TestActivity________________onRestoreInstanceState");
    }
}
